package com.gtw.modules.dao;

import com.gtw.modules.entity.TbExpressCode;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TbExpressCodeDao {

    int deleteByPrimaryKey(Integer id);

    int insert(TbExpressCode record);

    int insertSelective(TbExpressCode record);

    TbExpressCode selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbExpressCode record);

    int updateByPrimaryKey(TbExpressCode record);

    List<TbExpressCode> foundAll();

    /**
     * 根据code查询
     * @param wuliutype
     * @return
     */
    TbExpressCode findByCode(String wuliutype);
}